<?php

class ControleurImages {

    public function __construct() {
        
    }

    public function afficher() {
        VariablesGlobales::$lesImages = ModeleTHB::getLesImages();
        include(Chemins::VUES . "v_live.php");
    }
    
    public function insererImage(){
        
    }
    
    public function AffichersupprimerImage() {
        VariablesGlobales::$lesImages = ModeleTHB::getLesImages();
        include(Chemins::VUES . "v_suppressionImage.php");
    }
    
    public function SupprimerImage(){
        
        $valeurChamp = ModeleTHB::getLesImages();
        ModeleTHB::supImage($valeurChamp);
        include(Chemins::VUES . "v_confirmSuppression.php");
    }

}

?>
